#include "WorldNetClientPlugin.h"
#include "WorldToMasterModule.h"

#ifdef FG_DYNAMIC_PLUGIN

FG_EXPORT void DllStartPlugin(IPluginManager* pm)
{

    CREATE_PLUGIN(pm, WorldNetClientPlugin)

};

FG_EXPORT void DllStopPlugin(IPluginManager* pm)
{
    DESTROY_PLUGIN(pm, WorldNetClientPlugin)
};

#endif

const int FragrantGrass::WorldNetClientPlugin::GetPluginVersion()
{
    return 0;
}

const std::string FragrantGrass::WorldNetClientPlugin::GetPluginName()
{
	return GET_CLASS_NAME(WorldNetClientPlugin);
}

void FragrantGrass::WorldNetClientPlugin::Install()
{
    REGISTER_MODULE(m_pPluginManager, IWorldToMasterModule, WorldToMasterModule)
}

void FragrantGrass::WorldNetClientPlugin::Uninstall()
{
    UNREGISTER_MODULE(m_pPluginManager, IWorldToMasterModule, WorldToMasterModule)
}